import Http from '@/lib/http'

/** 用户 */
export default {
  login: (params: any) => Http.get('user/login', params),
  list: (params: any) => Http.get('user/findAllUser', params),
  save: (params: any) => Http.post('user/addUser', params),
  update: (params: any) => Http.post('user/updateUser', params),
  remove: (params: any) => Http.post('user/removeUser', params),
}
